package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.EcologyPoolSourceStatusEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 刘国航
 * @since 2024/7/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class EcologyPoolSourceRequest extends PageRequest {

    @ApiModelProperty("手机号码")
    public String userTel;

    @ApiModelProperty("藏品名称")
    private String collectionName;

    @ApiModelProperty("状态")
    private EcologyPoolSourceStatusEnum status;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}
